from fake_data_script_executer.seed_data_loader import SeedDataLoader

df_dict = None
def find(table: str, column: str = None):
    global df_dict
    if df_dict is None:
        data_loader = SeedDataLoader()
        df_dict = data_loader.load_data()
    df = df_dict[table]
    if column is None:
        return df.iloc[:, 0].tolist()
    return df[column].tolist()
